xentrace: update __insert_record() to copy the trace record to individual mfns
authorOlaf Hering <olaf@aepfle.de>
Thu, 26 May 2011 11:36:03 +0000 (12:36 +0100)
committerOlaf Hering <olaf@aepfle.de>
Thu, 26 May 2011 11:36:03 +0000 (12:36 +0100)
commit0baed3cbf28e4b929024b5366cd6f2b819aed334
tree81f4bbeee5bedf02ff44a324b244ab277bc4af1e
parent8c79214b97bef8c65230f5c0737f2fdfe815bf14
xentrace: update __insert_record() to copy the trace record to individual mfns

Update __insert_record() to copy the trace record to individual mfns.
This is a prereq before changing the per-cpu allocation from
contiguous to non-contiguous allocation.

v2:
  update offset calculation to use shift and mask
  update type of mfn_offset to match type of data source

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/trace.c